package com.hxfeng.authdemo.exception;


/**
 *
 */
public class MyException extends RuntimeException {

    private int code;
    private String msg;

    public MyException(int code, String msg) {
        super(msg);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

}
